home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / linux / mtd / nand-gpio.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  363 b   |  20 lines

  1. #ifndef __LINUX_MTD_NAND_GPIO_H
  2. #define __LINUX_MTD_NAND_GPIO_H
  3.  
  4. #include <linux/mtd/nand.h>
  5.  
  6. struct gpio_nand_platdata {
  7.     int    gpio_nce;
  8.     int    gpio_nwp;
  9.     int    gpio_cle;
  10.     int    gpio_ale;
  11.     int    gpio_rdy;
  12.     void    (*adjust_parts)(struct gpio_nand_platdata *, size_t);
  13.     struct mtd_partition *parts;
  14.     unsigned int num_parts;
  15.     unsigned int options;
  16.     int    chip_delay;
  17. };
  18.  
  19. #endif
  20.